package com.email.box.entity.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author xuan
 * @since 2021-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user_info")
@ApiModel(value = "SaveSysUserInfoDTO对象", description = "用户表")
public class SaveSysUserInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "account_id", value = "用户ID")
    @TableId(value = "account_id", type = IdType.AUTO)
    @JsonProperty("account_id")
    private Long accountId;

    @ApiModelProperty(name = "account", value = "账号")
    @TableField("account")
    @JsonProperty("account")
    private String account;

    @ApiModelProperty(name = "user_name", value = "用户名")
    @TableField("user_name")
    @JsonProperty("user_name")
    private String userName;

    @ApiModelProperty(name = "password", value = "密码")
    @TableField("password")
    @JsonProperty("password")
    private String password;

    @ApiModelProperty(name = "nick_name", value = "昵称")
    @TableField("nick_name")
    @JsonProperty("nick_name")
    private String nickName;

    @ApiModelProperty(name = "mobile", value = "手机号")
    @TableField("mobile")
    @JsonProperty("mobile")
    private String mobile;

    @ApiModelProperty(name = "email", value = "邮箱")
    @TableField("email")
    @JsonProperty("email")
    private String email;

    @ApiModelProperty(name = "wechat", value = "微信号")
    @TableField("wechat")
    @JsonProperty("wechat")
    private String wechat;

    @ApiModelProperty(name = "dt_user_id", value = "钉钉用户ID")
    @TableField("dt_user_id")
    @JsonProperty("dt_user_id")
    private String dtUserId;


}
